Release 10.1A: OpenEdge Development:
Programming Interfaces
Assigning colors and fonts to ActiveX Automation objects and ActiveX controls
Properties associated with ActiveX Automation objects and ActiveX controls allow you to define unique characteristics, such as color and font, for each object. For example, to set colors for an ActiveX control, you need to set one or more of the color properties of the control to some RGB value. There are three ways to obtain an RGB value. You can use the
RGB–VALUEfunction, use theCOLOR-TABLE:GET-RGB-VALUE( )method, or you can get the value from some color property of an ActiveX control or an ActiveXAutomation object. For fonts, an ActiveX Automation Server or ActiveX control generally provide a Font object that allows you to specify font properties.For further information about assigning colors and fonts to ActiveX controls and ActiveX Automation objects, see Chapter 15, "ActiveX Automation Support," and Chapter 16, " ActiveX Control Support."
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |